package com.TexasHoldem.util;


import mx4j.tools.adaptor.http.HttpAdaptor;

import org.springframework.jmx.export.annotation.ManagedResource;

@ManagedResource(objectName = "aEngine:name=JmxHttpAdaptor", description = "JMX适配器")
public class JmxHttpAdaptor extends HttpAdaptor {

	
	public JmxHttpAdaptor(String user, String password) {
		addAuthorization(user, password);
	}

	@Override
	public void setHost(String arg0) {
		super.setHost(arg0);
	}

	@Override
	public void setPort(int port) {
		super.setPort(port);
		//setHost("");
	}

}
